package day010.homework.p2;

public class Bird extends Animal {
    private boolean canFly;

    public boolean isCanFly() {
        return canFly;
    }

    public void setCanFly(boolean canFly) {
        this.canFly = canFly;
    }

    public void fly() {
        System.out.println("鸟在飞...");
    }
}
